<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
 *etc:配置文件
 *author:deepe.xiao
*/


//Base 配置
$config['base_url'] = "http://".$_SERVER['HTTP_HOST']."/Homework1017/";
$config['host'] = $_SERVER['HTTP_HOST'];
$config['base_http'] = $_SERVER['SERVER_ADDR'];
//该配置影响程序的文件名称
$config['pj_name'] = "Project";
$config['charset'] = "utf-8";
$config['dcharset'] = "utf8";
$config['index_page'] = "index.php";
$config['long_date_format'] = "Y-m-d";
$config['timezone'] = "Asia/Shanghai";
//$config['timezone'] = "PRC";
$config['log_path'] = FCPATH."app/logs";
$config['log_type'] = array('general' ,'error', 'log');
$config['session_expire_time'] = 3600;
//程序版本号
$config['sp_version'] = array( '1_0');


//Token 安全协议
//$config['bobaoge_interface_key'] = array(
//	'token_key' => array(
//		'1_0' => 'bobaogeHongHe3V1drzrT1',
//	),
//	'isValidVersion' => 0,
//	'isValidTime' => 1,
//	'overtimeHour' => array( 'minhour' => -12 ,'maxhour' => 12 )
//);


return $config;

?>
